<include file="../Public/header" />
<script data-main="__PUBLIC__/admin/js/page/cms/site/style" src="__PUBLIC__/admin/js/lib/requirejs/require.js"></script>
</head>

<body>
  <div class="page">
    <div class="page-hd">
      <h1>门户风格列表</h1>
    </div>
    <div class="form">
      <form method="post" action="{:URL('admin/Ui/doStyle')}" enctype="multipart/form-data">
        <dl class="kv">
          <dt>
            <label>门户风格列表：</label>
          </dt>
          <dd>
            <label>
              <empty name="ds">
                <br/>
                <br/>
                <else />
                <foreach name="ds" item="value">
                  <if condition="((substr($value['pic'], 0, 7) neq 'http://') && (substr($value['pic'], 0, 8) !== 'https://'))">
                    <a href="__PUBLIC__/cms/template/{$value.dir}/sitedata/{$value.pic}" class="fancybox">
                      <img src="__PUBLIC__/cms/template/{$value.dir}/sitedata/{$value.pic}" width="200" height="100" />
                    </a>
                    <else/>
                    <a href="{$value.pic}" class="fancybox">
                      <img src="{$value.pic}" width="200" height="100" />
                    </a>
                  </if>
                  {$value.name}&nbsp;
                </foreach>
              </empty>
            </label>
          </dd>
        </dl>
      </form>
    </div>
  </div>
</body>

</html>
